package club.zbiao.modules.system.service.query;

import club.zbiao.modules.system.domain.User;
import club.zbiao.modules.system.repo.UserRepository;
import club.zbiao.modules.system.service.dto.UserDTO;
import club.zbiao.modules.system.service.mapper.UserMapper;
import club.zbiao.modules.system.service.spec.UserSpec;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author jie
 * @date 2018-11-22
 */
@Service
@CacheConfig(cacheNames = "user")
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class UserQueryService extends BaseQueryServiceImpl<UserDTO, User, UserMapper, UserSpec, UserRepository> {


}
